package com.freda.oa.flow.run.model.itf;

import com.freda.oa.flow.run.vo.FlowRunInfoVo;

public interface FlowInstanceModelItf {
	/**
	 * 添加实例
	 * @param runInfo
	 * @return
	 */
	public abstract int addInstance(FlowRunInfoVo runInfo);
	/**
	 * 编辑实例
	 * @param runInfo
	 * @return
	 */
	public abstract int editInstance(FlowRunInfoVo runInfo);
	/**
	 * 编辑状态
	 * @param runInfo
	 * @return
	 */
	public abstract int editState(FlowRunInfoVo runInfo);
	/**
	 * 编辑结束状态
	 * @param runInfo
	 * @return
	 */
	public abstract int endInstance(FlowRunInfoVo runInfo);

}